package com.yoda.youdianda.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yoda.youdianda.domain.YddAdvpos;
import com.yoda.youdianda.mapper.YddAdvposMapper;
import com.yoda.youdianda.vo.PageResult;
import com.yoda.youdianda.vo.YddAdvposVo;

public interface YddAdvposService extends IService<YddAdvpos> {
    Integer countAdvpos();

    PageResult<YddAdvposVo> getPage(String advposdesc, String advposname, int page, int limit);

    YddAdvposVo getYddadvposVo(Long id);

    boolean delById(int id);

    boolean addAdvPos(YddAdvpos yddAdvpos);
}
